package cn.cdm.vo;


import cn.cdm.domain.Goods;

import java.util.Date;

public class GoodsVo extends Goods {

	private Integer stockCount; // 表示秒杀商品的库存数量
	private Date startDate;
	private Date endDate;
	private Double miaoshaPrice; // 秒杀价格

	public GoodsVo() {
	}


	public Integer getStockCount() {
		return stockCount;
	}
	public void setStockCount(Integer stockCount) {
		this.stockCount = stockCount;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public Double getMiaoshaPrice() {
		return miaoshaPrice;
	}
	public void setMiaoshaPrice(Double miaoshaPrice) {
		this.miaoshaPrice = miaoshaPrice;
	}

	@Override
	public String toString() {
		return super.toString() + " GoodsVo{" +
				"stockCount=" + stockCount +
				", startDate=" + startDate +
				", endDate=" + endDate +
				", miaoshaPrice=" + miaoshaPrice +
				'}';
	}
}
